<%--
  Created by IntelliJ IDEA.
  User: TM
  Date: 11/8/12
  Time: 11:58 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<%--<div class="jquery_tab">

    <div class="content_block">
        <form action="saveQuestion.action">--%>
<h2 class="jquery_tab_title">View Doctor Answers</h2>

<%--<table id="table_auto" cellspacing="0">

    <caption>View Doctor Response to Your Question</caption>
    <tr>
        <th>Question</th>
        <th colspan="2">Answer</th>
    </tr>

    &lt;%&ndash;<s:param name="count" value="0"></s:param>&ndash;%&gt;
    <s:iterator id="askDoctorResponse" value="doctorResponse">
        <tr style="word-wrap:break-word">
            <th class="spec">
            <s:property value="%{#askDoctorResponse.question}"/>
            <th>
                <td><s:property value="%{#askDoctorResponse.answer}"/></td>
        </tr>

    </s:iterator>

</table>--%>

<table id="table_fixed" cellspacing="0">

    <caption>View Doctor Response to Your Question</caption>
    <tr>
        <th scope="col" colspan="2" class="nobg" align="left">&nbsp;Q&A Details</th>
    </tr>
    <tr>
        <th>Question</th>
        <th>Answer</th>
    </tr>
   <s:iterator id="askDoctorResponse" value="doctorResponse">
        <tr>
            <td class="specalt"><s:property value="%{#askDoctorResponse.question}"/></td>
            <td class="alt"><s:property value="%{#askDoctorResponse.answer}"/></td>
        </tr>
    </s:iterator>
</table>

<%--<table id="table_auto" cellspacing="0">

    <caption>Patient Allergy Details (content of tables defines the allergies)</caption>
    <tr>
        <th scope="col" colspan="3" align="left">&nbsp;Answers</th>
    </tr>
    <tr>
        <th>Question</th>
        <th>Answer</th>
    </tr>
    <tr>
        <th class="spec">Lorem ipsum dolor</th>
        <td>Blog post</td>
    </tr>
    <tr>
        <th class="specalt">About me</th>
        <td class="alt">Static content</td>
    </tr>

    &lt;%&ndash;<s:param name="count" value="0"></s:param>&ndash;%&gt;
    <s:iterator id="askDoctorResponse" value="doctorResponse">
        <tr>
            <th class="spec"><s:property value="%{#askDoctorResponse.question}"/><th>
            <td><s:property value="%{#askDoctorResponse.answer}"/></td>
        </tr>

    </s:iterator>

</table>--%>

<%--            <s:iterator id="askDoctorResponse" value="doctorResponse">
                <div class="content-box box-grey">
                    <h4><s:property value="%{#askDoctorResponse.question}"/></h4>

                    <p><s:property value="%{#askDoctorResponse.answer}"/></p>
                </div>

            </s:iterator>--%>

<p/>

<p/>

<p/>

<p/>

<p/>
<%--<table width="75%" border="0">
    <tr>
        <td>Doctor</td>
        <td>&nbsp;</td>
        <td>&nbsp;
            <select name="doctor">
                <option></option>
            </select></td>
    </tr>
    <tr>
        <td>Question</td>
        <td>&nbsp;</td>
        <td>&nbsp;
            <textarea name="textarea" cols="50" rows="4"></textarea></td>
    </tr>
    <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;
            <input type="submit" name="alergySubmit"/></td>
    </tr>
</table>--%><%--
        </form>
    </div>
</div>--%>